/*
 * Packet.cpp
 *
 *  Created on: Oct 10, 2012
 *      Author: nam20485
 */

#include "Packet.h"

//template <typename BYTE>
Packet::Packet(Message::Type eType, BYTE* aBytes, SIZE_T length)
	: m_eType(eType)
	, m_length(length)
	, m_aBytes(aBytes, length)
{

}

//template <typename BYTE>
Packet::~Packet()
{
	// m_aBytes will free its own heap storage in its dtor
}

unsigned int Packet::ToBytes(BYTE* aBytes /* = 0*/) const
{
	return 0;
}
